import { ApiProperty } from "@nestjs/swagger";
import { IsNotEmpty } from 'class-validator';


export class QueryDetailReqVo {

  @ApiProperty({ example: "1", description: "商品id" })
  @IsNotEmpty({ message: "商品id必传" })
  productId: number
}